//
//  AppDelegate.swift
//  weibo
//
//  Created by mac on 16/8/3.
//  Copyright © 2016年 zl. All rights reserved.
//

import UIKit

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?
    

    func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
        
        
        setApperenceTintColor()
        
        window = UIWindow(frame: UIScreen.mainScreen().bounds)
        
        window?.backgroundColor = UIColor.whiteColor()
        
        window?.rootViewController = MainController()
        
        window?.makeKeyAndVisible()
        
        return true
    }

   
    func setApperenceTintColor () {
        
        UINavigationBar.appearance().tintColor = VCApperenceTintColor
        UITabBar.appearance().tintColor = VCApperenceTintColor
    }

}

